package engine.graphics.vfx
{
	import away3d.core.managers.*;
	import engine.graphics.away3d.*;
	import engine.graphics.resources.*;
	import engine.graphics.sprite.*;
	import engine.math.*;
	import flash.display3D.*;
	import flash.geom.*;
	
	public class RxWorldMeshBaseFX extends RxWorldBaseFX
	{
		protected var m_meshMatrix:RxMatrix4x4;
		protected var m_texture:RxGPUTexture2D;
		protected var m_animTexture:RxAnimTextureSheet;
		protected var m_srcBlend:uint;
		protected var m_dstBlend:uint;
		protected var m_blendEnabled:Boolean;
		protected var m_twoSided:Boolean;
		
		public function RxWorldMeshBaseFX()
		{
			InitMeshBaseFX();
		}
		
		public function InitMeshBaseFX() : void
		{
			if (this.m_meshMatrix == null)
			{
				this.m_meshMatrix = new RxMatrix4x4();
			}
			else
			{
				this.m_meshMatrix.Identity();
			}
			
			this.m_srcBlend = Stage3DProxy.BLEND_FACTOR_ONE;
			this.m_dstBlend = Stage3DProxy.BLEND_FACTOR_ZERO;
			this.m_blendEnabled = false;
			this.m_twoSided = false;
		}
	}
}